38 lines
620 B
C#
38 lines
620 B
C#
using System;
|
|
namespace hwo.bitworks.identity
|
|
{
|
|
public class BitIdentity
|
|
{
|
|
BitOperation operation;
|
|
BitIdentity[] sources;
|
|
string name;
|
|
|
|
public BitIdentity(BitOperation oper,BitIdentity[] sources)
|
|
{
|
|
this.operation = oper;
|
|
this.sources = sources;
|
|
this.name = null;
|
|
}
|
|
|
|
public BitIdentity(string name){
|
|
operation = BitOperation.NONE;
|
|
sources = null;
|
|
this.name = name;
|
|
}
|
|
|
|
public BitOperation BitOperation {
|
|
get { return this.operation; }
|
|
}
|
|
public BitIdentity[] Sources {
|
|
get { return this.sources; }
|
|
}
|
|
|
|
public string Name {
|
|
get {
|
|
return this.name;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|