public EntityBuilder SetVariable <T>(T variable) where T : class, IEntityVariable
        {
            if (variables == null)
            {
                variables = new EntityVariableMap();
            }

            variables.Set(variable);
            return(this);
        }
Beispiel #2
0
        public TChild SetVariable <T>(T variable) where T : class, IEntityVariable
        {
            if (m_variables == null)
            {
                m_variables = new EntityVariableMap();
            }

            m_variables.Set(variable);
            return((TChild)this);
        }
 public TChild SetVariable <T>(T variable) where T : class, IEntityVariable
 {
     m_variables.Set <T>(variable);
     return(Self);
 }