public override bool Equals(object obj) { if ((obj == null) || !this.GetType().Equals(obj.GetType())) { return(false); } InternalType other = (InternalType)obj; return(typeString == other.typeString); }
public void AddTransformation <T, TCast>(InternalType key, Func <T, T> transformation, object defaultValue) { _transformations[key.typeString] = MasterWrappers.MasterFunctionWrapper(transformation, defaultValue); }
public Func <object, object> this[InternalType key] => _transformations[key.typeString];
public void AddTransformation <T, TCast>(InternalType key, Func <object, TCast> transformation) { _transformations[key.typeString] = MasterWrappers.MasterFunctionWrapper(transformation); }