Exemplo n.º 1
0
        public EntityBuilder SetVariable <T>(T variable) where T : class, IEntityVariable
        {
            if (variables == null)
            {
                variables = new EntityVariableMap();
            }

            variables.Set(variable);
            return(this);
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public TChild SetVariable <T>(T variable) where T : class, IEntityVariable
 {
     m_variables.Set <T>(variable);
     return(Self);
 }